function message(message) {
    $('#m-toast-inner-text').text(message);
    $('#m-toast-pop').fadeIn();
    setTimeout(function() {
        $('#m-toast-pop').fadeOut();
    }, 1500);
  }



document.querySelector('#upload').onchange=function(){
    this.form.submit();
    document.querySelector('form').remove();
    var div = document.createElement("div");  //创建元素
    div.className='center';
    div.innerHTML = "<div class='ghost'></div>";
    div.setAttribute('style','height:235px;filter: blur(3px) contrast(10);background: #fff;');


    document.body.insertAdjacentElement('afterbegin', div);

    var h1 = document.querySelector("h1");
    h1.textContent = "  正在查询...请稍候٩(๑>◡<๑)۶ ";
    h1.className="";
    setTimeout(()=>{
        h1.className="print";
    },500);    
    h1.setAttribute('style','width:26ch;');
  }